package com.google.code.opengw.server;

public class Constants {

	
//	public static final String CONFIG_FILE_PATH = ".." + System.getProperty("file.separator") + "config" + System.getProperty("file.separator") + CONFIG_FILE_NAME;
//	public static final String USER_LIST_FILE_PATH = ".." + System.getProperty("file.separator") + "config" + System.getProperty("file.separator") + USER_LIST_FILE_NAME;
//	public static final String KEYSTORE_PATH = ".." + System.getProperty("file.separator") + "config" + System.getProperty("file.separator") + "keystore.ks";
//	public static final String LOG4J_LOG_PATH = ".." + System.getProperty("file.separator") + "log" + System.getProperty("file.separator") + "server.log";
//	public static final String DEPLOY_PATH = ".." + System.getProperty("file.separator") + "deploy" + System.getProperty("file.separator");
//	public static final String PUBLISH_PATH = ".." + System.getProperty("file.separator") + "publish" + System.getProperty("file.separator");
	
	public static final String CONFIG_FILE_DEFAULT_VALUES = "default-values";
	public static final String CONFIG_FILE_DEFAULT_CONNECTION_QUEUE_SIZE = "connection-queue-size";
	public static final String CONFIG_FILE_DEFAULT_INITIAL_WORKER_COUNT = "initial-worker-count";
	public static final String CONFIG_FILE_DEFAULT_WORKER_INCREASEMENT_COUNT = "worker-increasement-count";
	public static final String CONFIG_FILE_DEFAULT_MAX_WORKER_COUNT = "max-worker-count";
	public static final String CONFIG_FILE_DEFAULT_CONNECTION_TIMEOUT = "connection-timeout";
	public static final String CONFIG_FILE_DEFAULT_IDLE_TIMEOUT = "idle-timeout";
	public static final String CONFIG_FILE_DEFAULT_READ_TIMEOUT = "read-timeout";
	public static final String CONFIG_FILE_DEFAULT_AVAILABLE_METHODS = "available-methods";
	public static final String CONFIG_FILE_DEFAULT_ALLOW_PARAMETERS = "allow-parameters";
	public static final String CONFIG_FILE_DEFAULT_ALLOW_PATH_EXTENSION = "allow-path-extension";
	public static final String CONFIG_FILE_DEFAULT_READ_BUFFER_SIZE = "read-buffer-size";
	public static final String CONFIG_FILE_DEFAULT_CONNECTION_BUFFER_SIZE = "connection-buffer-size";
	public static final String CONFIG_FILE_DEFAULT_DEPLOYMENT_CONTROL_INTERVAL = "deployment-control-interval";
	
	
	public static final String CONFIG_FILE_KEYSTORE_PASSWORD = "keystore-password";
	
	public static final String CONFIG_FILE_DOMAIN = "domain";
	public static final String CONFIG_FILE_DOMAIN_NAME = "name";
	public static final String CONFIG_FILE_LISTENER_PORT = "port";
	
	public static final String USER_LIST_FILE_USER_LIST = "user-list";
	public static final String USER_LIST_FILE_USER = "user";
	public static final String USER_LIST_FILE_USERNAME = "username";
	public static final String USER_LIST_FILE_PASSWORD = "password";
	public static final String USER_LIST_FILE_USER_ROLES = "user-roles";
	
	public static final String PUBLISH_FILE_DOMAIN_NAME = "domain-name";
	public static final String PUBLISH_FILE_ROUTE = "route";
	public static final String PUBLISH_FILE_ROUTE_NAME = "route-name";
	public static final String PUBLISH_FILE_REQUEST_PATH = "request-path";
	public static final String PUBLISH_FILE_ROUTE_URL = "route-URL";
	public static final String PUBLISH_FILE_RESOURCE_URL = "resource-URL";
	public static final String PUBLISH_FILE_CONTENT_TYPE = "content-type";
	public static final String PUBLISH_FILE_AVAILABLE_METHODS = "available-methods";
	public static final String PUBLISH_FILE_ALLOW_PARAMETERS = "allow-parameters";
	public static final String PUBLISH_FILE_ALLOW_PATH_EXTENSION = "allow-path-extension";
	public static final String PUBLISH_FILE_CONNECTION_TIMEOUT = "connection-timeout";
	public static final String PUBLISH_FILE_READ_TIMEOUT = "read-timeout";
	public static final String PUBLISH_FILE_POLICY = "policy";
	public static final String PUBLISH_FILE_POLICY_NAME = "policy-name";
	public static final String PUBLISH_FILE_POLICY_CLASS = "policy-class";
	public static final String PUBLISH_FILE_POLICY_TYPE = "policy-type";
	public static final String PUBLISH_FILE_POLICY_PARAM = "policy-param";
	public static final String PUBLISH_FILE_POLICY_PARAM_NAME = "param-name";
	public static final String PUBLISH_FILE_POLICY_PARAM_VALUE = "param-value";
	
	public static final String ROUTE_NO_ROUTE_URL = "none";

	public static final String HTTP_SUPPORTED_METHODS = "GET,POST";

}
